package com.daylive.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.daylive.model.Category;
import com.daylive.page.Pagination;

public interface CategoryDao {
	public Category getCategoryById(int id);
	public List<Category> getCategoryList(Pagination page);
	public List<Category> getCategoryList();
	public int addCategory(Category category); 
	public int updateCategory(Category category);
	public int delCategory(@Param("id") int id);
	public int delAll(String[] ids);

}
